﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CommonTests.Model
{

    // 注意: 生成的代码可能至少需要 .NET Framework 4.5 或 .NET Core/Standard 2.0。
    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.chinaport.gov.cn/ceb")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.chinaport.gov.cn/ceb", IsNullable = false)]
    public partial class CEB311Message
    {

        private CEB311MessageOrder[] orderField;

        private CEB311MessageBaseTransfer baseTransferField;

        private Signature signatureField;

        private string guidField;

        private decimal versionField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("Order")]
        public CEB311MessageOrder[] Order
        {
            get
            {
                return this.orderField;
            }
            set
            {
                this.orderField = value;
            }
        }

        /// <remarks/>
        public CEB311MessageBaseTransfer BaseTransfer
        {
            get
            {
                return this.baseTransferField;
            }
            set
            {
                this.baseTransferField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#")]
        public Signature Signature
        {
            get
            {
                return this.signatureField;
            }
            set
            {
                this.signatureField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string guid
        {
            get
            {
                return this.guidField;
            }
            set
            {
                this.guidField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public decimal version
        {
            get
            {
                return this.versionField;
            }
            set
            {
                this.versionField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.chinaport.gov.cn/ceb")]
    public partial class CEB311MessageOrder
    {

        private CEB311MessageOrderOrderHead orderHeadField;

        private CEB311MessageOrderOrderList[] orderListField;

        /// <remarks/>
        public CEB311MessageOrderOrderHead OrderHead
        {
            get
            {
                return this.orderHeadField;
            }
            set
            {
                this.orderHeadField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("OrderList")]
        public CEB311MessageOrderOrderList[] OrderList
        {
            get
            {
                return this.orderListField;
            }
            set
            {
                this.orderListField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.chinaport.gov.cn/ceb")]
    public partial class CEB311MessageOrderOrderHead
    {

        private string guidField;

        private byte appTypeField;

        private ulong appTimeField;

        private byte appStatusField;

        private string orderTypeField;

        private string orderNoField;

        private uint ebpCodeField;

        private string ebpNameField;

        private uint ebcCodeField;

        private string ebcNameField;

        private ushort goodsValueField;

        private ushort freightField;

        private byte discountField;

        private byte taxTotalField;

        private ushort acturalPaidField;

        private byte currencyField;

        private string buyerRegNoField;

        private string buyerNameField;

        private ulong buyerTelephoneField;

        private byte buyerIdTypeField;

        private ulong buyerIdNumberField;

        private uint payCodeField;

        private string payNameField;

        private ulong payTransactionIdField;

        private uint batchNumbersField;

        private string consigneeField;

        private ulong consigneeTelephoneField;

        private string consigneeAddressField;

        private uint consigneeDistrictField;

        private string noteField;

        /// <remarks/>
        public string guid
        {
            get
            {
                return this.guidField;
            }
            set
            {
                this.guidField = value;
            }
        }

        /// <remarks/>
        public byte appType
        {
            get
            {
                return this.appTypeField;
            }
            set
            {
                this.appTypeField = value;
            }
        }

        /// <remarks/>
        public ulong appTime
        {
            get
            {
                return this.appTimeField;
            }
            set
            {
                this.appTimeField = value;
            }
        }

        /// <remarks/>
        public byte appStatus
        {
            get
            {
                return this.appStatusField;
            }
            set
            {
                this.appStatusField = value;
            }
        }

        /// <remarks/>
        public string orderType
        {
            get
            {
                return this.orderTypeField;
            }
            set
            {
                this.orderTypeField = value;
            }
        }

        /// <remarks/>
        public string orderNo
        {
            get
            {
                return this.orderNoField;
            }
            set
            {
                this.orderNoField = value;
            }
        }

        /// <remarks/>
        public uint ebpCode
        {
            get
            {
                return this.ebpCodeField;
            }
            set
            {
                this.ebpCodeField = value;
            }
        }

        /// <remarks/>
        public string ebpName
        {
            get
            {
                return this.ebpNameField;
            }
            set
            {
                this.ebpNameField = value;
            }
        }

        /// <remarks/>
        public uint ebcCode
        {
            get
            {
                return this.ebcCodeField;
            }
            set
            {
                this.ebcCodeField = value;
            }
        }

        /// <remarks/>
        public string ebcName
        {
            get
            {
                return this.ebcNameField;
            }
            set
            {
                this.ebcNameField = value;
            }
        }

        /// <remarks/>
        public ushort goodsValue
        {
            get
            {
                return this.goodsValueField;
            }
            set
            {
                this.goodsValueField = value;
            }
        }

        /// <remarks/>
        public ushort freight
        {
            get
            {
                return this.freightField;
            }
            set
            {
                this.freightField = value;
            }
        }

        /// <remarks/>
        public byte discount
        {
            get
            {
                return this.discountField;
            }
            set
            {
                this.discountField = value;
            }
        }

        /// <remarks/>
        public byte taxTotal
        {
            get
            {
                return this.taxTotalField;
            }
            set
            {
                this.taxTotalField = value;
            }
        }

        /// <remarks/>
        public ushort acturalPaid
        {
            get
            {
                return this.acturalPaidField;
            }
            set
            {
                this.acturalPaidField = value;
            }
        }

        /// <remarks/>
        public byte currency
        {
            get
            {
                return this.currencyField;
            }
            set
            {
                this.currencyField = value;
            }
        }

        /// <remarks/>
        public string buyerRegNo
        {
            get
            {
                return this.buyerRegNoField;
            }
            set
            {
                this.buyerRegNoField = value;
            }
        }

        /// <remarks/>
        public string buyerName
        {
            get
            {
                return this.buyerNameField;
            }
            set
            {
                this.buyerNameField = value;
            }
        }

        /// <remarks/>
        public ulong buyerTelephone
        {
            get
            {
                return this.buyerTelephoneField;
            }
            set
            {
                this.buyerTelephoneField = value;
            }
        }

        /// <remarks/>
        public byte buyerIdType
        {
            get
            {
                return this.buyerIdTypeField;
            }
            set
            {
                this.buyerIdTypeField = value;
            }
        }

        /// <remarks/>
        public ulong buyerIdNumber
        {
            get
            {
                return this.buyerIdNumberField;
            }
            set
            {
                this.buyerIdNumberField = value;
            }
        }

        /// <remarks/>
        public uint payCode
        {
            get
            {
                return this.payCodeField;
            }
            set
            {
                this.payCodeField = value;
            }
        }

        /// <remarks/>
        public string payName
        {
            get
            {
                return this.payNameField;
            }
            set
            {
                this.payNameField = value;
            }
        }

        /// <remarks/>
        public ulong payTransactionId
        {
            get
            {
                return this.payTransactionIdField;
            }
            set
            {
                this.payTransactionIdField = value;
            }
        }

        /// <remarks/>
        public uint batchNumbers
        {
            get
            {
                return this.batchNumbersField;
            }
            set
            {
                this.batchNumbersField = value;
            }
        }

        /// <remarks/>
        public string consignee
        {
            get
            {
                return this.consigneeField;
            }
            set
            {
                this.consigneeField = value;
            }
        }

        /// <remarks/>
        public ulong consigneeTelephone
        {
            get
            {
                return this.consigneeTelephoneField;
            }
            set
            {
                this.consigneeTelephoneField = value;
            }
        }

        /// <remarks/>
        public string consigneeAddress
        {
            get
            {
                return this.consigneeAddressField;
            }
            set
            {
                this.consigneeAddressField = value;
            }
        }

        /// <remarks/>
        public uint consigneeDistrict
        {
            get
            {
                return this.consigneeDistrictField;
            }
            set
            {
                this.consigneeDistrictField = value;
            }
        }

        /// <remarks/>
        public string note
        {
            get
            {
                return this.noteField;
            }
            set
            {
                this.noteField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.chinaport.gov.cn/ceb")]
    public partial class CEB311MessageOrderOrderList
    {

        private byte gnumField;

        private string itemNoField;

        private string itemNameField;

        private string gmodelField;

        private string itemDescribeField;

        private uint barCodeField;

        private byte unitField;

        private byte qtyField;

        private byte priceField;

        private ushort totalPriceField;

        private byte currencyField;

        private byte countryField;

        private object noteField;

        /// <remarks/>
        public byte gnum
        {
            get
            {
                return this.gnumField;
            }
            set
            {
                this.gnumField = value;
            }
        }

        /// <remarks/>
        public string itemNo
        {
            get
            {
                return this.itemNoField;
            }
            set
            {
                this.itemNoField = value;
            }
        }

        /// <remarks/>
        public string itemName
        {
            get
            {
                return this.itemNameField;
            }
            set
            {
                this.itemNameField = value;
            }
        }

        /// <remarks/>
        public string gmodel
        {
            get
            {
                return this.gmodelField;
            }
            set
            {
                this.gmodelField = value;
            }
        }

        /// <remarks/>
        public string itemDescribe
        {
            get
            {
                return this.itemDescribeField;
            }
            set
            {
                this.itemDescribeField = value;
            }
        }

        /// <remarks/>
        public uint barCode
        {
            get
            {
                return this.barCodeField;
            }
            set
            {
                this.barCodeField = value;
            }
        }

        /// <remarks/>
        public byte unit
        {
            get
            {
                return this.unitField;
            }
            set
            {
                this.unitField = value;
            }
        }

        /// <remarks/>
        public byte qty
        {
            get
            {
                return this.qtyField;
            }
            set
            {
                this.qtyField = value;
            }
        }

        /// <remarks/>
        public byte price
        {
            get
            {
                return this.priceField;
            }
            set
            {
                this.priceField = value;
            }
        }

        /// <remarks/>
        public ushort totalPrice
        {
            get
            {
                return this.totalPriceField;
            }
            set
            {
                this.totalPriceField = value;
            }
        }

        /// <remarks/>
        public byte currency
        {
            get
            {
                return this.currencyField;
            }
            set
            {
                this.currencyField = value;
            }
        }

        /// <remarks/>
        public byte country
        {
            get
            {
                return this.countryField;
            }
            set
            {
                this.countryField = value;
            }
        }

        /// <remarks/>
        public object note
        {
            get
            {
                return this.noteField;
            }
            set
            {
                this.noteField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.chinaport.gov.cn/ceb")]
    public partial class CEB311MessageBaseTransfer
    {

        private uint copCodeField;

        private string copNameField;

        private string dxpModeField;

        private string dxpIdField;

        private string noteField;

        /// <remarks/>
        public uint copCode
        {
            get
            {
                return this.copCodeField;
            }
            set
            {
                this.copCodeField = value;
            }
        }

        /// <remarks/>
        public string copName
        {
            get
            {
                return this.copNameField;
            }
            set
            {
                this.copNameField = value;
            }
        }

        /// <remarks/>
        public string dxpMode
        {
            get
            {
                return this.dxpModeField;
            }
            set
            {
                this.dxpModeField = value;
            }
        }

        /// <remarks/>
        public string dxpId
        {
            get
            {
                return this.dxpIdField;
            }
            set
            {
                this.dxpIdField = value;
            }
        }

        /// <remarks/>
        public string note
        {
            get
            {
                return this.noteField;
            }
            set
            {
                this.noteField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
    public partial class Signature
    {

        private SignatureSignedInfo signedInfoField;

        private string signatureValueField;

        private SignatureKeyInfo keyInfoField;

        /// <remarks/>
        public SignatureSignedInfo SignedInfo
        {
            get
            {
                return this.signedInfoField;
            }
            set
            {
                this.signedInfoField = value;
            }
        }

        /// <remarks/>
        public string SignatureValue
        {
            get
            {
                return this.signatureValueField;
            }
            set
            {
                this.signatureValueField = value;
            }
        }

        /// <remarks/>
        public SignatureKeyInfo KeyInfo
        {
            get
            {
                return this.keyInfoField;
            }
            set
            {
                this.keyInfoField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureSignedInfo
    {

        private SignatureSignedInfoCanonicalizationMethod canonicalizationMethodField;

        private SignatureSignedInfoSignatureMethod signatureMethodField;

        private SignatureSignedInfoReference referenceField;

        /// <remarks/>
        public SignatureSignedInfoCanonicalizationMethod CanonicalizationMethod
        {
            get
            {
                return this.canonicalizationMethodField;
            }
            set
            {
                this.canonicalizationMethodField = value;
            }
        }

        /// <remarks/>
        public SignatureSignedInfoSignatureMethod SignatureMethod
        {
            get
            {
                return this.signatureMethodField;
            }
            set
            {
                this.signatureMethodField = value;
            }
        }

        /// <remarks/>
        public SignatureSignedInfoReference Reference
        {
            get
            {
                return this.referenceField;
            }
            set
            {
                this.referenceField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureSignedInfoCanonicalizationMethod
    {

        private string algorithmField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Algorithm
        {
            get
            {
                return this.algorithmField;
            }
            set
            {
                this.algorithmField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureSignedInfoSignatureMethod
    {

        private string algorithmField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Algorithm
        {
            get
            {
                return this.algorithmField;
            }
            set
            {
                this.algorithmField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureSignedInfoReference
    {

        private SignatureSignedInfoReferenceTransforms transformsField;

        private SignatureSignedInfoReferenceDigestMethod digestMethodField;

        private string digestValueField;

        private string uRIField;

        /// <remarks/>
        public SignatureSignedInfoReferenceTransforms Transforms
        {
            get
            {
                return this.transformsField;
            }
            set
            {
                this.transformsField = value;
            }
        }

        /// <remarks/>
        public SignatureSignedInfoReferenceDigestMethod DigestMethod
        {
            get
            {
                return this.digestMethodField;
            }
            set
            {
                this.digestMethodField = value;
            }
        }

        /// <remarks/>
        public string DigestValue
        {
            get
            {
                return this.digestValueField;
            }
            set
            {
                this.digestValueField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string URI
        {
            get
            {
                return this.uRIField;
            }
            set
            {
                this.uRIField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureSignedInfoReferenceTransforms
    {

        private SignatureSignedInfoReferenceTransformsTransform transformField;

        /// <remarks/>
        public SignatureSignedInfoReferenceTransformsTransform Transform
        {
            get
            {
                return this.transformField;
            }
            set
            {
                this.transformField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureSignedInfoReferenceTransformsTransform
    {

        private string algorithmField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Algorithm
        {
            get
            {
                return this.algorithmField;
            }
            set
            {
                this.algorithmField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureSignedInfoReferenceDigestMethod
    {

        private string algorithmField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Algorithm
        {
            get
            {
                return this.algorithmField;
            }
            set
            {
                this.algorithmField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureKeyInfo
    {

        private byte keyNameField;

        private SignatureKeyInfoX509Data x509DataField;

        /// <remarks/>
        public byte KeyName
        {
            get
            {
                return this.keyNameField;
            }
            set
            {
                this.keyNameField = value;
            }
        }

        /// <remarks/>
        public SignatureKeyInfoX509Data X509Data
        {
            get
            {
                return this.x509DataField;
            }
            set
            {
                this.x509DataField = value;
            }
        }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/09/xmldsig#")]
    public partial class SignatureKeyInfoX509Data
    {

        private string x509CertificateField;

        /// <remarks/>
        public string X509Certificate
        {
            get
            {
                return this.x509CertificateField;
            }
            set
            {
                this.x509CertificateField = value;
            }
        }
    }
}
